//
//  Fonts_AppDelegate.h
//  Fonts
//
//  Created by Georg Seifert on 24.10.08.
//  Copyright __MyCompanyName__ 2008 . All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface Fonts_AppDelegate : NSObject 
{
    IBOutlet NSWindow *window;
    IBOutlet NSArrayController *FontsArrayController;
	IBOutlet NSTableView *fontListTableView;
	IBOutlet NSTabView* viewModeTabView;
    NSPersistentStoreCoordinator *persistentStoreCoordinator;
    NSManagedObjectModel *managedObjectModel;
    NSManagedObjectContext *managedObjectContext;
	NSMutableArray *previewImages;
	
}
@property(retain) NSMutableArray *previewImages;

- (NSPersistentStoreCoordinator *)persistentStoreCoordinator;
- (NSManagedObjectModel *)managedObjectModel;
- (NSManagedObjectContext *)managedObjectContext;

- (IBAction)saveAction:sender;
- (void) updateFonts:(id) sender;
- (void) magageFont:(NSManagedObject*) Font;
- (void) deleteFont:(NSManagedObject*) Font;
- (IBAction) manageFonts:(id) sender;
- (IBAction) toggleActive:(id) sender;
- (IBAction) activate:(id) sender;
- (IBAction) deActivate:(id) sender;
- (IBAction) info:(id) sender;
- (void) updatePreview:(id) sender;
- (IBAction) chooseLibraryPath:(id) sender;
- (IBAction) defaultLibraryPath:(id) sender;
- (IBAction) setViewMode:(id) sender;
@end
